﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;

using System.Text;
using System.Windows.Forms;
using Common.Utilities;
using Common.Utilities.Test;
using WindowsUserControl.Codes;

namespace PdfLib.Test.DataCleaning
{
    [ManualTestCase("Code rule", "Data cleaning rules")]
    public partial class TestCase_CodeRules : UserControl
    {
        private CodeFragment _CodeEditor;

        public TestCase_CodeRules()
        {
            InitializeComponent();
        }

        private void TestCase_CodeRules_Load(object sender, EventArgs e)
        {
            string codeHeader = @"public class CodeRule_Temp {";
            string codeFooter = @"}";

            this._CodeEditor=new CodeFragment(codeHeader, codeFooter,new List<string>());
            this.tp_Code.Controls.Clear();
            this.tp_Code.Controls.Add(this._CodeEditor);
            this._CodeEditor.Dock = DockStyle.Fill;
        }
    }
}
